# $Id$
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: damir <damir@archlinux.org>

pkgname=mysql-python
pkgver=1.2.5
pkgrel=2
pkgdesc="MySQL support for Python"
arch=("x86_64")
url="http://mysql-python.sourceforge.net/"
license=('GPL2')
depends=('python2' 'libmariadbclient')
makedepends=('python2-setuptools')
source=("https://pypi.python.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip")
sha512sums=('37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0')

package() {
  cd "${srcdir}/MySQL-python-${pkgver}"
  python2 setup.py install --root="${pkgdir}" --optimize=1
}
